FFmpeg (Windows build) — LGPL corresponding-source notice
==========================================================

This notice covers the FFmpeg copy bundled with the WINDOWS build of
FluffyAudio FFT. The macOS build bundles a DIFFERENT, self-compiled FFmpeg
— see FFmpeg-CORRESPONDING-SOURCE.txt for that one. The two are not
interchangeable and are not under the same license version.

What is bundled
---------------
Installed into  <install dir>\Tools\ :

    ffmpeg.exe, ffprobe.exe
    avcodec-61.dll, avformat-61.dll, avutil-59.dll, swresample-5.dll,
    avfilter-10.dll, avdevice-61.dll, swscale-8.dll

FFT invokes ffmpeg.exe / ffprobe.exe only as SEPARATE EXECUTABLES, as
child processes. The application links no FFmpeg library and contains no
FFmpeg code. They are used for two things:

  1. Audio extraction for File > Download Audio. yt-dlp performs the
     extraction step through ffmpeg; without it a fragmented-HLS source
     produces a container yt-dlp itself warns is only partially playable.
  2. The import/decode fallback for audio formats the application's own
     loaders cannot open (WMA, Monkey's Audio / APE, WavPack, Musepack,
     TTA, Shorten, DSD, ...).

License
-------
LGPL VERSION 3 OR LATER (LGPL-3.0-or-later).

Note the version: this build is configured with --enable-version3, so it is
LGPL v3, NOT the LGPL v2.1 that covers the macOS build and libmp3lame. The
binary reports this itself:

    ffmpeg -L   ->  "GNU Lesser General Public License ... version 3 of the
                     License, or (at your option) any later version"

The full license text ships in this directory as FFmpeg-LGPL-3.0.txt.
FFmpeg's own license summary — which sets out the terms under which the
external libraries below may be combined — ships as FFmpeg-LICENSE.md.

It is NOT a GPL build: it is configured WITHOUT --enable-gpl and WITHOUT
--enable-nonfree, and the GPL-only encoders (libx264, libx265, libxvid,
libxavs2) and the nonfree libfdk-aac are explicitly disabled.

Exact provenance
----------------
    Publisher:   BtbN/FFmpeg-Builds (the build service FFmpeg's own download
                 page lists for Windows)
    Release tag: autobuild-2026-08-01-13-21
    Variant:     "lgpl-shared" — the LGPL configuration, SHARED libraries
    Version:     n7.1.5-12-g1fdbca85aa  (FFmpeg 7.1 series, matching the
                 macOS pin's generation)

    x64    asset  ffmpeg-n7.1.5-12-g1fdbca85aa-win64-lgpl-shared-7.1.zip
           sha256 289ec4ca5a832cb1f2486ee35301d345c5dfaa28018f6177cdbbfbc2ad6f2e33
    arm64  asset  ffmpeg-n7.1.5-12-g1fdbca85aa-winarm64-lgpl-shared-7.1.zip
           sha256 900d2fcc3369e9d7214b4679259e53fe902096e773d504055f725bb615dca71c

    Fetched and checksum-verified by scripts/fetch_media_binaries_win.ps1 in
    the source tree, which is the authoritative record of these pins. Only
    bin\ is taken; ffplay.exe is dropped.

The COMPLETE configure line of the exact binary you have is recorded inside
the binary and can be printed at any time with:

    ffmpeg -buildconf

Your right to relink (why this is the SHARED build)
---------------------------------------------------
The shared variant was chosen deliberately. Every FFmpeg library is a separate,
replaceable DLL beside ffmpeg.exe, so you may substitute your own build of any
of them — the LGPL relinking right is exercised by replacing a file, with no
tooling from us required. This is the same arrangement, and the same reasoning,
as the dynamically linked libmp3lame.dll documented in
Windows-THIRD-PARTY-NOTICES.txt.

Obtaining the corresponding source
----------------------------------
  * FFmpeg itself: the tagged upstream source for this build is
    https://git.ffmpeg.org/ffmpeg.git at n7.1.5 (commit 1fdbca85aa), mirrored
    at https://github.com/FFmpeg/FFmpeg. Release tarballs for the 7.1 series
    are at https://ffmpeg.org/releases/.
  * The build recipe (configuration, toolchain, and the sources of every
    bundled external library) is public and versioned at
    https://github.com/BtbN/FFmpeg-Builds — the repository that produced the
    release tag named above.

External libraries in this build
--------------------------------
Unlike the macOS build — which is compiled here from source with
--disable-autodetect and NO external libraries — this prebuilt links a broad
set of third-party libraries, each under its own free-software license, as
permitted by FFmpeg-LICENSE.md for an LGPL v3 configuration. As of the pinned
build, `ffmpeg -buildconf` reports these enabled:

    amf, chromaprint, cuda-llvm, ffnvcodec, gmp, iconv, libaom, libaribb24,
    libaribcaption, libass, libbluray, libdav1d, libfreetype, libfribidi,
    libgme, libharfbuzz, libjxl, libkvazaar, libmp3lame, libopencore-amrnb,
    libopencore-amrwb, libopenh264, libopenjpeg, libopenmpt, libopus,
    libplacebo, librav1e, librist, libshaderc, libsnappy, libsoxr, libsrt,
    libssh, libsvtav1, libtheora, libtwolame, libuavs3d, libvmaf, libvorbis,
    libvpl, libvpx, libvvenc, libwebp, libxml2, libzimg, libzmq, libzvbi,
    lv2, lzma, openal, opencl, schannel, sdl2, vaapi, vulkan, zlib

The license text and corresponding source for each are available from that
library's own project and from the BtbN/FFmpeg-Builds repository, which pins
and builds them. FFT itself uses none of these directly; they are present
because they are part of the prebuilt FFmpeg distribution.

Note for maintainers: the macOS side avoids this attribution surface entirely
by compiling a minimal, dependency-free LGPL-2.1 ffmpeg from a pinned tarball
(scripts/fetch_media_binaries.sh). Reproducing that recipe for Windows would
replace this notice with the much smaller v2.1 one, and would cut roughly
120 MB of shipped binaries to roughly 20 MB. It is not done today only because
it needs a Windows FFmpeg build toolchain in CI.
